<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ page contentType="text/html" %>
<%@ include file="/includes/taglibs.jsp" %>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <title>Hands United - <decorator:title /></title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


        <c:set var="global"><spring:theme code="global"/></c:set>
        <c:if test="${not empty global}">
            <link rel="stylesheet" href="<c:url value="${global}"/>" type="text/css" />
        </c:if>

		<c:if test="${loggedInUser != null}">

	        <!-- Core + Skin CSS -->
	        <c:set var="yui_css_menu"><spring:theme code="yui_css_menu"/></c:set>
	        <link rel="stylesheet" type="text/css" href="<c:url value="${yui_css_menu}"/>">
	
	        <c:set var="yui_js_yahoo_dom_event"><spring:theme code="yui_js_yahoo_dom_event"/></c:set>
	        <script type="text/javascript" src="<c:url value="${yui_js_yahoo_dom_event}"/>"></script>
	        <c:set var="yui_js_container_core_min"><spring:theme code="yui_js_container_core_min"/></c:set>
	        <script type="text/javascript" src="<c:url value="${yui_js_container_core_min}"/>"></script>
	        <c:set var="yui_js_menu_min"><spring:theme code="yui_js_menu_min"/></c:set>
	        <script type="text/javascript" src="<c:url value="${yui_js_menu_min}"/>"></script>
	
	        <!-- Page-specific script -->
	
	        <script type="text/javascript">
	            // Initialize and render the menu bar when it is available in the DOM
	            YAHOO.util.Event.onContentReady("menubar", function () {
	                // Instantiate and render the menu bar
	                var oMenuBar = new YAHOO.widget.MenuBar("menubar", { autosubmenudisplay: true, hidedelay: 750, lazyload: true });
	                /*
	                     Call the "render" method with no arguments since the markup for 
	                     this menu already exists in the DOM.
	                */
	                oMenuBar.render();
	            });
	        </script>
		</c:if>

		<decorator:head/>
    </head>

    <body>

		<%@ include file="/includes/loginbar.jsp" %>

		<%@ include file="/includes/bannerandsearch.jsp" %>

        <%@ include file="/includes/menubar.jsp" %>

        <decorator:body/>

        <%@ include file="/includes/footer.jsp" %>

    </body>

</html>
